--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit a50a7bd8996e42d0769956bf156b5ca5378bf143
Parents : 92083de
Author : Ivan <ivan@quad4.io>
Signature : Invalid signer <e46112d44649266d71fe2193e00a4710>, author is <ivan@quad4.io>
Date : 2026-07-10T01:04:52-05:00
fix(tests): update AboutPage tests for new localization strings and correct reaction drag cleanup method reference
Changes
2 files changed, 4 insertions(+), 3 deletions(-)
Diff
diff --git a/tests/frontend/AboutPage.test.js b/tests/frontend/AboutPage.test.js
index a0b3e558..2e516398 100644
--- a/tests/frontend/AboutPage.test.js
+++ b/tests/frontend/AboutPage.test.js
@@ -118,8 +118,9 @@ describe("AboutPage.vue", () => {
expect(wrapper.text()).toContain("hash2");
expect(wrapper.text()).toContain("about.dependency_chain");
- expect(wrapper.text()).toContain("about.dep_lxmf_subtitle");
- expect(wrapper.text()).toContain("about.dep_rns_subtitle");
+ expect(wrapper.text()).toContain("LXMFy");
+ expect(wrapper.text()).toContain("LXMF");
+ expect(wrapper.text()).toContain("RNS");
expect(wrapper.text()).toContain("about.backend_stack");
expect(wrapper.text()).toContain("aiohttp");
diff --git a/tests/frontend/ConversationViewerReactions.test.js b/tests/frontend/ConversationViewerReactions.test.js
index c678c620..12509ff9 100644
--- a/tests/frontend/ConversationViewerReactions.test.js
+++ b/tests/frontend/ConversationViewerReactions.test.js
@@ -274,7 +274,7 @@ describe("ConversationViewer reactions", () => {
});
wrapper.vm.$refs.reactionPickerPanel = panel;
wrapper.vm.onReactionPickerDragStart({ clientX: 1, clientY: 2 });
- expect(typeof wrapper.vm._reactionDragCleanup).toBe("function");
+ expect(typeof wrapper.vm.reactionDragCleanup).toBe("function");
wrapper.unmount();
expect(() => {
document.dispatchEvent(new Event("touchmove"));
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────